package org.pupil.common.constants;

/**
 * @Description: 代理方式
 * @Author: pupil
 * @Date: 2024/07/10 下午 4:09
 */
public enum RpcProxy {
    CG_LIB("cglib");

    public String name;

    RpcProxy(String type) {
        this.name = type;
    }

    public static RpcProxy get(String type){
        for (RpcProxy value : RpcProxy.values()) {
            if (value.name.equals(type)){
                return value;
            }
        }
        return null;
    }

}
